<template>
  <div class="pop">
    <div @click="openPop">打开弹窗</div>
  </div>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import { openNomalPop } from '@/components/pop';

@Component
export default class ViewPop extends Vue {
  pop: Vue | null = null;
  openPop() {
    this.pop = openNomalPop(this.pop);
  }
}
</script>

<style lang="less"></style>
